# -*- coding: utf-8 -*-
from wineAreas import RegionArea, regionClassGenerator, FranceArea
from qtcommon import tr

# define this region classes
SouthWesternFranceArea , SouthWesternFranceAppellation, SouthWesternFranceGroup, newgroup = regionClassGenerator("SouthWesternFrance", tr("South West") , FranceArea)


                                                                        
# fill the specifics to this region. we put it in a function so it is invoked only when needed.
def createRegion():
    SouthWesternFranceArea._cepages = [
        ["Arrouya" , "Cabernet franc" , "Cabernet sauvignon", "Fer servadou", "Merlot", "Petit verdot", "Saint-Macaire","Malbec","Manseng noir", u"Mérille", "Négrette"
          "Tannat", "Jurançon noir"],
        ["Sauvignon blanc","Jurançon blanc","Clairette", "Lauzet","Ugni blanc"],
        []
        ]

    
    r = SouthWesternFranceArea()
    r.addAppellations( [
        U"Bergerac",
        u"Côtes-de-Bergerac",
        U"Montravel",
        U"Haut-Montravel",
        U"Saussignac",
        U"Monbazillac",
        U"Pécharmant",
        U"Rosette",
        u"Côtes de Duras",
        u"Côtes du Marmandais",
        U"Buzet",
        U"Cahors",
        U"Fronton",
        U"Gaillac",
        U"Marcillac",
        U"Madiran",
        u"Pacherenc du Vic Bilh",
        U"Béarn",
        U"Jurançon",
        U"Irouléguy",
        ]
                       
                       )
    return r
